package com.maimao.spider;

import com.sun.glass.ui.Application;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author MaoLin Wang
 * @date 2020/11/24 9:17 上午
 */
@SpringBootApplication
@EnableScheduling
@EnableAsync(proxyTargetClass = true)
@EnableTransactionManagement
@MapperScan(basePackages = "com.maimao.spider.mapper")
public class SpiderApplication {
    public static void main(String[] args) {
        SpringApplication.run(SpiderApplication.class,args);
    }
}
